package com.jy.adscm.operation.mscyb.bean;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zyl
 * @since 2018-12-04
 */
public class JqzzMachinedetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;
    private String tid;
    private String bjname;
    private String bjcode;
    private String bjbatch;
    private String bjtype;
    private String userperson;
    @TableField(exist = false)
    private String userpersonName;
    private Date usetime;
    private Date createtime;
    private String bjrealname;
    @TableField(exist = false)
    private String bjrealnameName;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTid() {
        return tid;
    }

    public void setTid(String tid) {
        this.tid = tid;
    }

    public String getBjname() {
        return bjname;
    }

    public void setBjname(String bjname) {
        this.bjname = bjname;
    }

    public String getBjcode() {
        return bjcode;
    }

    public void setBjcode(String bjcode) {
        this.bjcode = bjcode;
    }

    public String getBjbatch() {
        return bjbatch;
    }

    public void setBjbatch(String bjbatch) {
        this.bjbatch = bjbatch;
    }

    public String getBjtype() {
        return bjtype;
    }

    public void setBjtype(String bjtype) {
        this.bjtype = bjtype;
    }

    public String getUserperson() {
        return userperson;
    }

    public void setUserperson(String userperson) {
        this.userperson = userperson;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getUsetime() {
        return usetime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setUsetime(Date usetime) {
        this.usetime = usetime;
    }
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    public Date getCreatetime() {
        return createtime;
    }
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getBjrealname() {
        return bjrealname;
    }

    public void setBjrealname(String bjrealname) {
        this.bjrealname = bjrealname;
    }

    public String getUserpersonName() {
        return userpersonName;
    }

    public void setUserpersonName(String userpersonName) {
        this.userpersonName = userpersonName;
    }

    public String getBjrealnameName() {
        return bjrealnameName;
    }

    public void setBjrealnameName(String bjrealnameName) {
        this.bjrealnameName = bjrealnameName;
    }

    @Override
    public String toString() {
        return "JqzzMachinedetail{" +
                "id=" + id +
                ", tid='" + tid + '\'' +
                ", bjname='" + bjname + '\'' +
                ", bjcode='" + bjcode + '\'' +
                ", bjbatch='" + bjbatch + '\'' +
                ", bjtype='" + bjtype + '\'' +
                ", userperson='" + userperson + '\'' +
                ", userpersonName='" + userpersonName + '\'' +
                ", usetime=" + usetime +
                ", createtime=" + createtime +
                ", bjrealname='" + bjrealname + '\'' +
                ", bjrealnameName='" + bjrealnameName + '\'' +
                '}';
    }
}
